#include"Name_pairs.h"

int main(int argc,char *argv[])
{
  Name_pairs first,second;
  first.read_name();
  first.read_age();
  second=first;
  cout<<first;
  // first.sort();
  cout<<endl;
  cout<<first;
  bool flag=(first==second);
  cout<<flag;
  return 0;
}
